import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import { HomePage } from "@/pages";

export default function App() {
  return (
    <Router>
      <Routes>
        <Route path="/" element={<HomePage />} />
        <Route path="/books" element={<div className="text-center text-xl p-8">绘本馆 - 开发中</div>} />
        <Route path="/books/:id" element={<div className="text-center text-xl p-8">绘本详情 - 开发中</div>} />
        <Route path="/activities" element={<div className="text-center text-xl p-8">亲子活动 - 开发中</div>} />
        <Route path="/activities/:id" element={<div className="text-center text-xl p-8">活动详情 - 开发中</div>} />
        <Route path="/reading-record" element={<div className="text-center text-xl p-8">阅读记录 - 开发中</div>} />
        <Route path="/profile" element={<div className="text-center text-xl p-8">用户中心 - 开发中</div>} />
        <Route path="/login" element={<div className="text-center text-xl p-8">登录 - 开发中</div>} />
        <Route path="/register" element={<div className="text-center text-xl p-8">注册 - 开发中</div>} />
      </Routes>
    </Router>
  );
}
